#include <stdio.h>
float taxes(int income) {
    if (income < 750)
        return income * .01f;
    else if (income <= 2250)
        return 7.50f + (income - 750) * .02f;
    else if (income <= 3750)
        return 37.50f + (income - 2250) * .03f;
    else if (income <= 5250)
        return 82.50f + (income - 3750) * .04f;
    else if (income <= 7000)
        return 142.50f + (income - 5250) * .05f;
    else
        return 230.00f + (income - 7000) * .06f;
}
int main(void)
{
    float income;
    printf("Enter your income: ");
    scanf("%f", &income);
    printf("The taxes is: %.2f\n", taxes(income));
    return 0;
}